package com.yingyi.org.domain;

import com.yingyi.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    //private Long id;
    private String username;


    private String password;
    private String confirmPassword;

    private String salt;
    private Integer age;
    private String phone;
    private String email;
    private Integer state = 1;

    private Long department_id;
    //对应department_id的部门
    private Department department;

    private Long logininfo_id;

    private Long shop_id;
    //shop_id对应的Shop对象
    private Shop shop;

    private Long role_id;
}
